import { markRaw } from "vue";

const files = import.meta.glob("./*.vue", {
	eager: true,
	import: "default",
});
const resultComps = {};
for (const path in files) {
	const module = await files[path];
	resultComps[path.replace(/(\.\/|\.vue)/g, "")] = module;
}

export default markRaw(resultComps);
